package br.usp.ime.origami.algorithms;


import org.apache.log4j.Logger;

import br.usp.ime.origami.model.MovingTriangle;
import br.usp.ime.origami.model.MovingTriangulation;

public class StraightSkeleton {

	private static final Logger logger = Logger.getLogger(StraightSkeleton.class);
	
	private MovingTriangulation movingTriangulation;

	public StraightSkeleton(MovingTriangulation mt) {
		this.movingTriangulation = mt;
		generate();
	}

	private void generate() {

		while(this.movingTriangulation.hasMoreCollapsingTriangles()) {
			MovingTriangle mt = movingTriangulation.nextCollapsingTriangle();
			
			logger.debug("Retirando " + mt);
		}
	}

}
